﻿<phone:PhoneApplicationPage 
    x:Class="AllenalaMente.Menu.BonusMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Landscape" Orientation="Landscape"
    mc:Ignorable="d" d:DesignHeight="480" d:DesignWidth="800"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot è la griglia radice in cui viene inserito tutto il contenuto della pagina-->
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contiene il nome dell'applicazione e il titolo della pagina-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" >
            <TextBlock x:Name="PageTitle" Text="Title" Style="{StaticResource PhoneTextTitle1Style}" Height="72" FontSize="50" />
        </StackPanel>

        <!--ContentPanel - inserire ulteriore contenuto qui-->
        <Grid x:Name="ContentPanel" Margin="0,80,0,0" Grid.RowSpan="2" Width="650" HorizontalAlignment="Left">
            <Rectangle Height="100" HorizontalAlignment="Left" Margin="107,29,0,0" Name="rectangleSlot1" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="100">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle Height="100" HorizontalAlignment="Left" Margin="279,29,0,0" Name="rectangleSlot2" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="100">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle Height="100" HorizontalAlignment="Left" Margin="461,29,0,0" Name="rectangleSlot3" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="100">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle Height="80" HorizontalAlignment="Left" Margin="12,200,0,0" Name="rectangleBonus1" Stroke="White" StrokeThickness="2" VerticalAlignment="Top" Width="80">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle Height="80" HorizontalAlignment="Left" Margin="147,200,0,0" Name="rectangleBonus2" Stroke="White" StrokeThickness="2" VerticalAlignment="Top" Width="80">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle Height="80" HorizontalAlignment="Left" Margin="279,200,0,0" Name="rectangleBonus3" Stroke="White" StrokeThickness="2" VerticalAlignment="Top" Width="80">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle Height="80" HorizontalAlignment="Left" Margin="425,200,0,0" Name="rectangleBonus4" Stroke="White" StrokeThickness="2" VerticalAlignment="Top" Width="80">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle Height="80" HorizontalAlignment="Left" Margin="564,200,0,0" Name="rectangleBonus5" Stroke="White" StrokeThickness="2" VerticalAlignment="Top" Width="80">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock Height="90" HorizontalAlignment="Left" Margin="12,304,0,0" Name="textBlockBonusDescription" Text="Bonus Despription" VerticalAlignment="Top" Width="632" />
            <Image Height="55" HorizontalAlignment="Left" Margin="26,212,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="55" IsHitTestVisible="False" Source="/AllenalaMente;component/Assets/Images/Items/Item01.png"/>
            <Image Height="55" HorizontalAlignment="Left" Margin="162,212,0,0" Name="image2" Stretch="Fill" VerticalAlignment="Top" Width="55" IsHitTestVisible="False" Source="/AllenalaMente;component/Assets/Images/Items/Item02.png"/>
            <Image Height="55" HorizontalAlignment="Left" Margin="294,212,0,0" Name="image3" Stretch="Fill" VerticalAlignment="Top" Width="55" IsHitTestVisible="False" Source="/AllenalaMente;component/Assets/Images/Items/Item03.png"/>
            <Image Height="55" HorizontalAlignment="Left" Margin="441,212,0,0" Name="image4" Stretch="Fill" VerticalAlignment="Top" Width="55" IsHitTestVisible="False" Source="/AllenalaMente;component/Assets/Images/Items/Item05.png"/>
            <Image Height="55" HorizontalAlignment="Left" Margin="580,212,0,0" Name="image5" Stretch="Fill" VerticalAlignment="Top" Width="55" IsHitTestVisible="False" Source="/AllenalaMente;component/Assets/Images/Items/Item07.png"/>
            <Image Height="75" HorizontalAlignment="Left" Margin="122,41,0,0" Name="imageSlot1" Stretch="Fill" VerticalAlignment="Top" Width="75" IsHitTestVisible="False" />
            <Image Height="75" HorizontalAlignment="Left" Margin="293,41,0,0" Name="imageSlot2" Stretch="Fill" VerticalAlignment="Top" Width="75" IsHitTestVisible="False"/>
            <Image Height="75" HorizontalAlignment="Left" Margin="478,41,0,0" Name="imageSlot3" Stretch="Fill" VerticalAlignment="Top" Width="75" IsHitTestVisible="False"/>
        </Grid>
        <Button Content="Ok" Grid.Row="1" Height="68" HorizontalAlignment="Left" Margin="656,328,0,0" Name="buttonConfirm" VerticalAlignment="Top" Width="132" FontSize="16" Click="buttonConfirm_Click" />
        <TextBlock Height="33" HorizontalAlignment="Left" Margin="656,0,0,0" Name="textBlockCoins" Text="0 Coins" VerticalAlignment="Top" Width="144" Grid.Row="1" TextAlignment="Center" />
        <Grid.Background>
            <!--<ImageBrush ImageSource="/AllenalaMente;component/Assets/Background.jpg" />-->
        </Grid.Background>
    </Grid>
 
    <!--Codice di esempio che illustra l'utilizzo di ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Pulsante 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Pulsante 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="Voce di menu 1"/>
                <shell:ApplicationBarMenuItem Text="Voce di menu 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
